package com.hysf.ioc.pro5_ioc_import;

import com.hysf.ioc.pro5_ioc_import.other.Grape;
import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

public class FruitImportSelector implements ImportSelector {
	@Override
	public String[] selectImports(AnnotationMetadata importingClassMetadata) {
		return new String[]{
				"com.hysf.pro5_ioc_import.other.Apple",
				"com.hysf.pro5_ioc_import.other.Banana",
				Grape.class.getName(),
				"com.hysf.pro5_ioc_import.other.WaterMalone"
		};
	}
}
